﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_SURVEY_RESULT.cs
// 项目名称：Lovol 
// 创建时间：2012-2-13
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
	/// <summary>
	///T_SURVEY_RESULT数据实体
	/// </summary>
	[Serializable]
    [OracleTable(TableName = "T_SURVEY_RESULT", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_SURVEY_RESULT", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
	public class T_SURVEY_RESULT_Entity
	{
		#region 变量定义		
		///<summary>
		///自增编号
		///</summary>
		private int? _aUTOID;
		///<summary>
		///用户编号
		///</summary>
		private string _cUSTOMERID = String.Empty;
		///<summary>
		///活动编号
		///</summary>
		private string _tASKID = String.Empty;
		///<summary>
		///问卷编号
		///</summary>
		private int? _sURVEY_ID;
		///<summary>
		///题目编号
		///</summary>
		private int? _iTEM_ID;
		///<summary>
		///题目类型
		///</summary>
		private int? _iTEM_TYPE;
		///<summary>
		///题目答案
		///</summary>
		private string _iTEM_RESULT = String.Empty;
		///<summary>
		///创建人
		///</summary>
		private string _cREATEPEOPLE = String.Empty;
		///<summary>
		///创建时间
		///</summary>
		private DateTime? _cREATETIME;
		///<summary>
		///上次修改人
		///</summary>
		private string _lASTMODIFYPEOPLE = String.Empty;
		///<summary>
		///修改时间
		///</summary>
		private DateTime? _lASTMODIFYTIME;
		///<summary>
		///事业部编号
		///</summary>
		private long? _bUSINESSDIVISIONID;
		///<summary>
		///事业部名称
		///</summary>
		private string _bUSINESSDIVISIONNAME = String.Empty;
		///<summary>
		///事业部代码
		///</summary>
		private string _bUSINESSDIVISIONCODE = String.Empty;
		#endregion
		
		#region 构造函数
		///<summary>
		///
		///</summary>
		public T_SURVEY_RESULT_Entity()
		{			
			
		}
		#endregion
		
		#region 公共属性
		
		///<summary>
		///自增编号
		///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_SURVEY_RESULT")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
		public int? AUTOID
		{
			get {return _aUTOID;}
			set { _aUTOID = value; }
			
		}

		///<summary>
		///用户编号
		///</summary>		
		public string CUSTOMERID
		{
			get {return _cUSTOMERID;}
			set {
					_cUSTOMERID = value;
				}
			
		}

		///<summary>
		///活动编号
		///</summary>		
		public string TASKID
		{
			get {return _tASKID;}
			set {
					_tASKID = value;
				}
			
		}

		///<summary>
		///问卷编号
		///</summary>		
		public int? SURVEY_ID
		{
			get {return _sURVEY_ID;}
			set { _sURVEY_ID = value; }
			
		}

		///<summary>
		///题目编号
		///</summary>		
		public int? ITEM_ID
		{
			get {return _iTEM_ID;}
			set { _iTEM_ID = value; }
			
		}

		///<summary>
		///题目类型
		///</summary>		
		public int? ITEM_TYPE
		{
			get {return _iTEM_TYPE;}
			set { _iTEM_TYPE = value; }
			
		}

		///<summary>
		///题目答案
		///</summary>		
		public string ITEM_RESULT
		{
			get {return _iTEM_RESULT;}
			set {
					_iTEM_RESULT = value;
				}
			
		}

		///<summary>
		///创建人
		///</summary>		
		public string CREATEPEOPLE
		{
			get {return _cREATEPEOPLE;}
			set {
					_cREATEPEOPLE = value;
				}
			
		}

		///<summary>
		///创建时间
		///</summary>		
		public DateTime? CREATETIME
		{
			get {return _cREATETIME;}
			set { _cREATETIME = value; }
			
		}

		///<summary>
		///上次修改人
		///</summary>		
		public string LASTMODIFYPEOPLE
		{
			get {return _lASTMODIFYPEOPLE;}
			set {
					_lASTMODIFYPEOPLE = value;
				}
			
		}

		///<summary>
		///修改时间
		///</summary>		
		public DateTime? LASTMODIFYTIME
		{
			get {return _lASTMODIFYTIME;}
			set { _lASTMODIFYTIME = value; }
			
		}

		///<summary>
		///事业部编号
		///</summary>		
		public long? BUSINESSDIVISIONID
		{
			get {return _bUSINESSDIVISIONID;}
			set { _bUSINESSDIVISIONID = value; }
			
		}

		///<summary>
		///事业部名称
		///</summary>		
		public string BUSINESSDIVISIONNAME
		{
			get {return _bUSINESSDIVISIONNAME;}
			set {
					_bUSINESSDIVISIONNAME = value;
				}
			
		}

		///<summary>
		///事业部代码
		///</summary>		
		public string BUSINESSDIVISIONCODE
		{
			get {return _bUSINESSDIVISIONCODE;}
			set {
					_bUSINESSDIVISIONCODE = value;
				}
			
		}
		
		
		#endregion
		
	}
}
